package com.briup.pts.mapper;

import com.briup.pts.domain.bean.QuarantineRegistration;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface QrMapper {
    List<QuarantineRegistration> queryCondition(@Param("bQualified") String bQualified,
                                                @Param("grMechanism") String grMechanism);


    void insertQuarantineRegistration(QuarantineRegistration quarantineRegistration);

    void modifyQuarantineRegistration(QuarantineRegistration quarantineRegistration);

    void deleteById(Integer grId);

    default void deleteByIdAll(@Param("grIds") List<Integer> grIds) {

    }
}
